package com.hmall.api.trade;

import com.hmall.api.trade.po.Order;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author ljc
 * @version V1.0
 * @date 2025-03-16 11:48
 */
@FeignClient(name = "trade-service",path = "/orders")
public interface TradeClient {
    @PutMapping
    public void updateById(@RequestBody Order order);
}
